package com.tn.service.rpm;

import com.tn.controller.alarm.common.model.rpm.CameraAreaListDTO;
import com.tn.controller.alarm.common.model.rpm.CameraAreaListResultVO;
import com.tn.controller.alarm.common.model.rpm.InRadiusCheckParamDTO;
import com.tn.controller.alarm.common.model.rpm.StaticFenceCheckParamDTO;

import java.util.List;
import java.util.Map;

/**
 * @ClassName RmpServeService
 * @Description TODO
 * @Author Yezhongzhu
 * @Date 2021/12/24 16:29
 * @Version v1.0
 **/
public interface RpmServeService {
    /**
     * 发送检测标签进出围栏
     */
    int sendStaticFenceCheck(StaticFenceCheckParamDTO staticFenceCheckParamDTO);

    /**
     * 发送检测标签进出围栏
     */
    void deleteStaticFenceCheck(int eventId);

    /**
     * 发送标签与标签的距离检测
     */
    void sendInRadiusCheck(InRadiusCheckParamDTO inRadiusCheckParamDTOs, String actionType);

    /**
     * 查询标签历史点位信息
     * @return
     */
    Map<String,String[]> queryTraceFetch(String tagId, String startTime, String endTime);

    void sendAddFrontendDisplay(Integer id,String tagId,String data);

    void sendDeleteFrontendDisplay(String tagId);

    void sendCameraAreaList(List<CameraAreaListDTO> list);

    List<CameraAreaListResultVO> areaTraceFetchData(String tagId, String startTime, String endTime);

}
